﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Site.Master" AutoEventWireup="true" CodeBehind="Home.aspx.cs" Inherits="JohnnySins.Home" %>

<asp:Content ID="Content1" ContentPlaceHolderID="HeadContent" runat="server">
    <script type="text/javascript" src="<%=ResolveClientUrl("~") %>jwplayer/jwplayer.js"></script>
    <script type="text/javascript" src="<%=ResolveClientUrl("~") %>twitterfeed.js"></script>
    <script type="text/javascript">jwplayer.key = '<%=jwplayerKey%>';</script>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
        <!--start welcome note-->
		<div class="container">
        	<div class="welcome_message">
            	<p><asp:Label runat="server" ID="lblWelcomeNote"></asp:Label></p>
            </div>
        </div>
        <!--end welcome note-->
        <!--start recent scenes-->
        <div class="container">
        	<div class="page_title">
            	<h1>Recent Scenes</h1>
            </div>
            <div class="row">
                <asp:Repeater runat="server" ID="rptScene">
                <ItemTemplate>
                <div class="col-sm-4 col-md-4 col-lg-4 jonny_thumb_features">
                        <div class="video_fream">
                            <div id="div_video_<%# Eval("RecentSceneId")%>">
                                <script type="text/javascript">
                                    jwplayer('div_video_<%# Eval("RecentSceneId")%>').setup({
                                        file: '<%=ResolveClientUrl("~") %>Files/RecentScenes/<%# Eval("PhysFileName")%>',
                                        image: '<%=ResolveClientUrl("~") %>Files/RecentScenes/<%# Eval("PhysPoster")%>',
                                        width: 290,
                                        height: 325,
                                        skin: "glow",
                                        title: '<%# Eval("RecentSceneTitle")%>',
                                        primary: jwplayer.utils.isChrome() ? "flash" : "html5"
                                    });
                                    jwplayer('div_video_<%# Eval("RecentSceneId")%>').onPlay(function (event) { $('#div_desc_<%# Eval("RecentSceneId")%>').hide(); });
                                </script>
                            </div>
                            <div class="video_short_description" id="div_desc_<%# Eval("RecentSceneId")%>"><p><%# Eval("RecentSceneTitle")%></p></div>
                        </div>
                </div>
                </ItemTemplate>
                </asp:Repeater>
            </div>
        </div>
        <!--end recent scenes-->
                
        <!--start twitter feed-->
        <div class="container">
        	<div class="row twitter_feed_panel">
            	<div class="col-md-4 col-lg-4">
                	<img class="img-responsive twitter_title" src="<%=ResolveClientUrl("~") %>images/twitter_title.png" alt="" title="">
                    
                    <a class="follow_btn" href="https://twitter.com/JohnnySins" data-show-count="false" data-size="large">
                        <img src="images/tweeter_reverse_icon.png" alt="" />
                        <span><strong>Follow</strong> @johnnysins</span>
                    </a>
                    
                    <a class="follow_btn" href="https://twitter.com/JohnnySinsMgmt" data-show-count="false" data-size="large">
                        <img src="<%=ResolveClientUrl("~") %>images/tweeter_reverse_icon.png" alt="" />
                        <span><strong>Follow</strong> @johnnysinsmgmt</span>
                    </a>
                    <script>                       !function (d, s, id) { var js, fjs = d.getElementsByTagName(s)[0], p = /^http:/.test(d.location) ? 'http' : 'https'; if (!d.getElementById(id)) { js = d.createElement(s); js.id = id; js.src = p + '://platform.twitter.com/widgets.js'; fjs.parentNode.insertBefore(js, fjs); } } (document, 'script', 'twitter-wjs');</script>
                </div>
               
                <div class="col-md-8 col-lg-8">
                	<div id="content_1" class="feed_content content">
                    
                        <!--start tweeter use post feed-->
                        <div id="twitter_feed"></div>
                        <!--end tweeter use post feed-->

                        
                    </div>
                    <script>                       !function (d, s, id) { var js, fjs = d.getElementsByTagName(s)[0]; if (!d.getElementById(id)) { js = d.createElement(s); js.id = id; js.src = "https://platform.twitter.com/widgets.js"; fjs.parentNode.insertBefore(js, fjs); } } (document, "script", "twitter-wjs");</script>
                </div>

            </div>
        </div>
        <!--end twitter feed-->
</asp:Content>


